package com.woniuxy.configuration;

import java.io.FileWriter;
import java.io.IOException;

import org.springframework.context.annotation.Configuration;


public class AlipayConfig {
	// 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号,开发时使用沙箱提供的APPID，生产环境改成自己的APPID
    public static String APP_ID = "2016102200740942";
//    public static String APP_ID = "2088102180687771";
    
    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String APP_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCxc96XAHcEGojdY6Nne23UOQjRLwOgo5nHKQpC0EgbWBM/GlOJePev5Ov3/JhK3TUZwNmm/1L4TAdJUqlVHcPM+2LIipqDU2vy/mvAn3OEy4LHZygkSF2HOjWygKf4V1C7g1ZU6+bHY+ukzTpcxpj0LlWDUicujrg+U6RkdpGLwMtmfzHJnfOSeKMaK/3z4ad+QIsSP+M1w+/OdBAOHVFm8W0CEQOkTjX2TTRUDjvW+BTZU+di/JzSxTVdQKV3jY24yZW5Cv+vMjv2/bWKOiAdIMlh/lZoq5VN0dO0KYNIlyoPgEy3oafSfJusHPGAIpgIICmAj8ZgMelcn27ztCs5AgMBAAECggEAH/VpQjLAPIn22kBmnm15Uz5OWzYnZhfwyxCWG4BdbCdJmBTKtLiHizMkWE4ys1DxjkjQKiZTsAopSchMXNr2d4VSviFQQJSWnXW6vD87U9A/JmBqt1YdGgyevR40oiI/lPXLZ5Hwxzo0p0Ka3ziZNWje177E9bqYbgksUzeTcOKj9SFzb/KZm7Gg1LONPLGk9lKs1UjPO2LkNM4XxELQmKTxsLTNS8lM1ChYIpEKqr1l8DUuSuDUK8h9DydizF24rYixJ+sajqjKt2OINdnqKmXbzJ7Ktu4gkAiZebywjSfyg9A1/mnYULjrehgzcyZtvoC+Dd0tZ2ace1XtFcdPzQKBgQDnrocJOH2LL3AlWF/903l064T40ndSGeyEupy0Sya/bX9VQBLRIrflEe5H/lV44Ge+4qLjpgzUn43vmf74G/OczZIuzyQc23mOk3B95hZANdNifBfxzF0fg3VBXVd9ZG62veqPJS4tvlNBk65KhLIcuqMj8TCuO8cetbnoR2BgIwKBgQDEFCmC33fIRPHhJwNU3JvIS7q+Y1GGMdqByvrlHOWA9b8rcAord1Ct/qeTilYc9QtMzC16rnIMKU+tL3+qoV1nrzcrjujDQJ3GOCVP5z6S68qh3HPHaW00eu53Fwc+F4H4QhrJmJ1HOfuVPfvLivuDVEnNC8bfTbEW6bwGbh0O8wKBgFtLcdjXUtljAx0kOwdJqwXAvTBTt0M6BfKzmoaNSqKKYm/UhNW2iaKRs0TZWxL70sXshuWQDGRIz2SIWWmpkhDLDPy3EXLxpW/id6SU41XAICEh50mYD2YYpj7wqkY2Kk6GfgSUUSMjaalgqYCh05HwldLW+yjdU3SthambXsXjAoGAJDUs7TPi5KKGn/MaVGNgiP4i/+FLPqKaHPmklwZdAxFeOeE4n4oq5dZuj3ouKK6/ZXEWvN7VxJUkV3C7/IBLxUe/wlVjehrGh8H6ceTb0zmjc3xIDPzU46oHuwoPllG0+GkMlUmPUYXNhWOqyY1ioH/CGREhqj6ogviqde2DhC0CgYEAzP9eLUdqlhOUXfHuqqjVtP1k9Vy06pdBdAzOQw2WqqiyGdkkX68NqZVgRbb9qkLnm2EsbDVB+uJtKJ+6gGfOYEVI4x5nzShoUtbIOX6J18NJ8t3W3CmhrXhYb7CYROX/lp9mhWW6Jds147oFxkV0JlTFJL4yuLM6Wf4avocuzPk=";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm/Pz9vRZGwmUe1brZ++VxXU+I5aZvam14nCZLudYFSrblhdMQ572iVF1koz/VppeapW34lKkEVuvvjoNYh8cFl3Sr/RWUQX1c+8szmPho2A+v32jHZLbrB+tsVoy4TBr0570C4QYs9hcuwWGgQ016g448C7s7794K+yh/UlQHjt9rnbydrKnWI4KBBmioTmWrf+8Q3ivSH4CNesXxytYaPOAjCHsTXUP4XiRgcScFOCqF9TxaMK4TeCMfvnnYBmm8xRVeyXT+rxtNqPJVAqu8MjcKA22VHhjcFN3YT8ShbTATbMnu5IrJdfGf0lbQwxQwEpDBEThCKbfSX0g4ZZRYQIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://9312200924.eicp.vip/alipay/notifyUrl";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问(其实就是支付成功后返回的页面)
    public static String return_url = "http://9312200924.eicp.vip/alipay/returnUrl";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String CHARSET = "utf-8";

    // 支付宝网关，这是沙箱的网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    // 支付宝网关
    public static String log_path = "E:\\";


//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑

    
}
